package com.guigu.financial.service;

import com.github.pagehelper.PageInfo;
import com.guigu.financial.pojo.Borrower;
import com.guigu.financial.pojo.vo.BorrowerApprovalVO;

public interface BorrowerService {
    int deleteByPrimaryKey(Long id);

    int insert(Borrower record);

    int insertSelective(Borrower record);

    Borrower selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Borrower record);

    int updateByPrimaryKey(Borrower record);

    PageInfo findAll(int pageNum, int pageSize);

    PageInfo findByBorrower(int pageNum, int pageSize, Borrower borrower);

    void approval(BorrowerApprovalVO borrowerApprovalVO);
}
